home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
polardrw
/
data.z
/
polardraw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-14
|
14KB
|
339 lines
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CPOLARDraw wrapper class
class CPOLARDraw : public CWnd
{
protected:
DECLARE_DYNCREATE(CPOLARDraw)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x78ba52e2, 0xd227, 0x11d2, { 0xb9, 0xd2, 0x0, 0x80, 0x48, 0xfd, 0x54, 0xe6 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
short GetBorderStyle();
void SetBorderStyle(short);
short GetAppearance();
void SetAppearance(short);
long GetZoom();
void SetZoom(long);
BOOL GetDrawGrid();
void SetDrawGrid(BOOL);
BOOL GetDrawGuidelines();
void SetDrawGuidelines(BOOL);
unsigned long GetBackgroundColor();
void SetBackgroundColor(unsigned long);
unsigned long GetPaperColor();
void SetPaperColor(unsigned long);
unsigned long GetGridColor();
void SetGridColor(unsigned long);
unsigned long GetGuidelineColor();
void SetGuidelineColor(unsigned long);
unsigned long GetPaperShadowColor();
void SetPaperShadowColor(unsigned long);
unsigned long GetPaperOutlinecolor();
void SetPaperOutlinecolor(unsigned long);
long GetEditMode();
void SetEditMode(long);
long GetCurrentShapeType();
void SetCurrentShapeType(long);
BOOL GetDrawPaper();
void SetDrawPaper(BOOL);
BOOL GetDrawPaperOutline();
void SetDrawPaperOutline(BOOL);
BOOL GetDrawPaperShadow();
void SetDrawPaperShadow(BOOL);
long GetVersion();
void SetVersion(long);
BOOL GetSnapToGuidelines();
void SetSnapToGuidelines(BOOL);
BOOL GetSnapToGrid();
void SetSnapToGrid(BOOL);
long GetPaperShadowOffset();
void SetPaperShadowOffset(long);
long GetViewportOriginX();
void SetViewportOriginX(long);
long GetViewportOriginY();
void SetViewportOriginY(long);
long GetPageOriginX();
void SetPageOriginX(long);
long GetPageOriginY();
void SetPageOriginY(long);
long GetPageHeight();
void SetPageHeight(long);
long GetPageWidth();
void SetPageWidth(long);
long GetHorizontalGrid();
void SetHorizontalGrid(long);
long GetVerticalGrid();
void SetVerticalGrid(long);
BOOL GetShowVerticalScrollBar();
void SetShowVerticalScrollBar(BOOL);
BOOL GetShowHorizontalScrollBar();
void SetShowHorizontalScrollBar(BOOL);
BOOL GetShowVerticalRuler();
void SetShowVerticalRuler(BOOL);
BOOL GetShowHorizontalRuler();
void SetShowHorizontalRuler(BOOL);
long GetSelectionCount();
void SetSelectionCount(long);
long GetShapeCount();
void SetShapeCount(long);
long GetMeasurementUnits();
void SetMeasurementUnits(long);
long GetRulerMeasurementUnits();
void SetRulerMeasurementUnits(long);
long GetCurrentPolygonType();
void SetCurrentPolygonType(long);
long GetUndoSize();
void SetUndoSize(long);
BOOL GetLandscape();
void SetLandscape(BOOL);
long GetCanvasWidth();
void SetCanvasWidth(long);
long GetCanvasHeight();
void SetCanvasHeight(long);
BOOL GetEnableRendering();
void SetEnableRendering(BOOL);
BOOL GetRecordUndo();
void SetRecordUndo(BOOL);
BOOL GetAllowErrorReporting();
void SetAllowErrorReporting(BOOL);
BOOL GetAllowSelect();
void SetAllowSelect(BOOL);
BOOL GetAllowRotate();
void SetAllowRotate(BOOL);
BOOL GetAllowDelete();
void SetAllowDelete(BOOL);
BOOL GetAllowResize();
void SetAllowResize(BOOL);
BOOL GetAllowMove();
void SetAllowMove(BOOL);
BOOL GetAllowEditPoints();
void SetAllowEditPoints(BOOL);
// Operations
public:
void Undo();
void Redo();
BOOL Copy();
BOOL Paste();
BOOL Cut();
BOOL Read(LPCTSTR szFileName);
BOOL Write(LPCTSTR szFileName, long lType);
void FitToPage();
void FitToWidth();
void FitToHeight();
void FitToSelection();
void CenterPage();
void MovePageOrigin(long lOffsetX, long lOffsetY);
void MoveViewportOrigin(long lOffsetX, long lOffsetY);
void SetPageOrigin(long lOffsetX, long lOffsetY);
void SetViewportOrigin(long lOffsetX, long lOffsetY);
void SetSelFillColor(unsigned long crFillColor);
void SetSelLineWidth(long lWidth);
void SetSelLineDashing(long lLineDashing);
void SetSelStartArrowHeadType(long lArrowType);
void SetSelEndArrowHeadType(long lArrowType);
void SetSelStartArrowWidth(long lWidth);
void SetSelEndArrowWidth(long lWidth);
void SetSelStartArrowLength(long lLength);
void SetSelEndArrowLength(long lLength);
void SetSelFillType(long lFillType);
void SetSelFillBackColor(unsigned long crBackColor);
void SetSelIsFilled(BOOL bNewValue);
void SetSelHasLine(BOOL bNewValue);
void SetSelShadowType(long lShadowType);
void SetSelShadowColor(unsigned long crShadowColor);
void SetSelShadowOffsetX(long lOffsetX);
void SetSelShadowOffsetY(long lOffsetY);
void SetSelHasShadow(BOOL bNewValue);
void SetSelRotation(long lAngle);
void SetSelFillPattern(long nPattern, unsigned long crForeGround, unsigned long crBackGround);
void SetSelFillPicture(LPCTSTR szFileName);
void SetSelFillPicture2(LPDISPATCH Picture);
void SetSelFillTexture(long nTexture);
void SetSelFillTexture2(LPCTSTR szFileName);
void SetSelFillTexture3(LPDISPATCH Picture);
void SetSelFillAngle(long lFillAngle);
void SetSelLeft(long lLeft);
void SetSelTop(long lTop);
void SetSelBottom(long lBottom);
void SetSelRight(long lRight);
long GetShapeID(long lShapePos);
long GetSelectedShapeID(long lShapePos);
void SetShapeLeft(long lShapeID, long lLeft);
void SetShapeTop(long lShapeID, long lTop);
void SetShapeBottom(long lShapeID, long lBottom);
void SetShapeRight(long lShapeID, long lRight);
void SetShapeRotation(long lShapeID, long lAngle);
void SetShapeFillType(long lShapeID, long lFillType);
void SetShapeFillColor(long lShapeID, unsigned long crFillColor);
void SetShapeFillBackColor(long lShapeID, unsigned long crBackColor);
void SetShapeFillAngle(long lShapeID, long lFillAngle);
void SetShapeIsFilled(long lShapeID, BOOL bNewValue);
void SetShapeLineColor(long lShapeID, unsigned long crLineColor);
void SetShapeLineWidth(long lShapeID, long lLineWidth);
void SetShapeLineDashing(long lShapeID, long lLineDashing);
void SetShapeStartArrowHead(long lShapeID, long lArrowHead);
void SetShapeEndArrowHead(long lShapeID, long lArrowHead);
void SetShapeStartArrowWidth(long lShapeID, long lArrowWidth);
void SetShapeEndArrowWidth(long lShapeID, long lArrowWidth);
void SetShapeStartArrowLength(long lShapeID, long lArrowLength);
void SetShapeEndArrowLength(long lShapeID, long lArrowLength);
void SetShapeHasLine(long lShapeID, BOOL bNewValue);
void SetShapeHasShadow(long lShapeID, BOOL bNewValue);
void SetShapeShadowType(long lShapeID, long lShadowType);
void SetShapeShadowColor(long lShapeID, unsigned long crShadowColor);
void SetShapeShadowOffsetX(long lShapeID, long lOffsetX);
void SetShapeShadowOffsetY(long lShapeID, long lOffsetY);
void TextureDlg();
void PatternDlg();
long GetShapeShadowType(long lShapeID);
long GetShapeFillType(long lShapeID);
unsigned long GetShapeFillColor(long lShapeID);
unsigned long GetShapeFillBackColor(long lShapeID);
long GetShapeFillAngle(long lShapeID);
BOOL GetShapeIsFilled(long lShapeID);
unsigned long GetShapeLineColor(long lShapeID);
long GetShapeLineWidth(long lShapeID);
long GetShapeLineDashing(long lShapeID);
long GetShapeStartArrowHead(long lShapeID);
long GetShapeEndArrowHead(long lShapeID);
long GetShapeStartArrowWidth(long lShap